package com.example.administrator.maizuofilm.moviedetails;

import com.example.administrator.maizuofilm.IBaseModel;
import com.example.administrator.maizuofilm.IBasePresenter;
import com.example.administrator.maizuofilm.IBaseView;
import com.example.administrator.maizuofilm.moviedetails.bean.Comment;
import com.example.administrator.maizuofilm.moviedetails.bean.Details;

/**
 * Created by hansen on 2016/7/12.
 */
public class MovieDetailsContract {
    interface MovieDetailsM extends IBaseModel{



            void getDate(String path);
            void getComment(String path);

    }
    interface MovieDetailsP extends IBasePresenter{
            void getData(String path);
        void getComment(String path);
    }
    interface MovieDetailsV extends IBaseView{
            void getData(Details details);
            void getFail(String str);

        void onComment(Comment comment);
        void onCommentFail(String str);
    }
}
